package com.empire.module.sporttery.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 赔率奖金vo
 *
 * @author xgd
 * @since 2025-5-09
 */
@Data
@Accessors(chain = true)
public class BonusVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    public BonusVO(){

    }
    public BonusVO(String n,Double v, Boolean x, Integer pei,String c,String gc){
        this.n = n;
        this.v=v;
        this.x=x;
        this.pei=pei;
        this.c = c;
        this.gc=gc;
    }
    @Schema(description = "名称")
    private String n;

    @Schema(description = "选项编码")
    private String c;

    @Schema(description = "赔率值", format = "##.##")
    private Double v;

    @Schema(description = "是否选择投注", defaultValue = "false")
    private Boolean x;

    @Schema(description = "赔序", defaultValue = "1",example = "一赔，二赔，三陪")
    private Integer pei;

    @Schema(description = "是否单关", defaultValue = "true")
    private Boolean s;

    @Schema(description = "上级游戏编码")
    private String gc;

}
